#ifndef LVGL_CONTROL_HPP
#define LVGL_CONTROL_HPP

#include "../lcd/spi_lcd.hpp" 

class LVGLControl {
public:
    LVGLControl();
    static void init();
    static void showHelloWorld();

    void showNumInit();

    void showNumInner(uint32_t value);

    void showExample();

    void lcdClose();
    void lcdOn();
    void lvglLcdClean(uint16_t color);

private:
    LCDDisplay lcdObj;
    SPI spiObj;
    static void _spi_lcd_init();
    static void initDisplay();
    lv_obj_t * label;
};

#endif 